<?php
if (count($result)) :
	global $language;
	$nid = $result[0];
	$node = node_load($nid);
	$body = field_get_items('node', $node, 'body', $language->language);
	$img_path = base_path() . drupal_get_path('theme', 'goldengroup') . '/images/';
	$field_page_type = field_get_items('node', $node, 'field_page_type', $language->language);
	$field_page_type = !empty($field_page_type) ? $field_page_type[0]['value'] : '';
	?>
	<div class="block-news">
		<div class="primary-news">
			<img src="<?php print $img_path; ?>images-about.jpg" alt="">
			<div class="info-news">
				<h2><?php print $node->title; ?></h2>
				<div class="fck">
					<?php print $body[0]['value']; ?>
				</div>
			</div>
		</div>
		<?php
		$other_about = get_content_by_other($result, 'custom_page', $field_page_type);
		?>
		<div class="secondary-news">
			<img src="<?php print $img_path; ?>image-about.jpg" width="350" height="244" alt="">      
			<div class="inner">
				<h2>Other Information</h2>
				<?php
				if (count($other_about)) :
					$node_other = node_load_multiple($other_about);
					?>
					<ul class="lst-news">
						<?php foreach ($node_other as $node) : ?>
							<li><a href="<?php print url('node/' . $node->nid); ?>"><?php print $node->title; ?></a></li>
						<?php endforeach; ?>
					</ul>
				<?php endif; ?>
				<?php if (theme('pager')) : ?>
					<a href="#" class="next"> >> <?php print t('Next'); ?></a>
				<?php endif; ?>
			</div>
		</div>
	</div>

	<?php
endif;
?>